﻿<?php defined('_JEXEC') or die('Restricted access'); ?>

<form action="index.php" method="post" name="adminForm" id="adminForm" style="width:550px; margin-left:300px">
<div class="col100">
	<fieldset class="adminform">
		<legend><?php echo JText::_( 'Thông tin cựu sinh viên' ); ?></legend>

		<table class="admintable">
		<tr>
			<td width="200" align="right" class="key">
				<label for="masv">
					<?php echo JText::_( 'Mã sinh viên' );?>:
				</label>
			</td>
			<td>
				<input class="text_area" type="text" name="masv" id="masv" size="50" maxlength="250" value="<?php echo $this->hello->masv;?>" />
			</td>
		</tr>
		<tr>
			<td width="200" align="right" class="key">
				<label for="tensv">
					<?php echo JText::_( 'Tên sinh viên' );?>:
				</label>
			</td>
			<td>
				<input class="text_area" type="text" name="tensv" id="tensv" size="50" maxlength="250" value="<?php echo $this->hello->tensv;?>" />
			</td>
		</tr>
		<tr>
			<td width="200" align="right" class="key">
				<label for="khoahoc">
					<?php echo JText::_( 'Khóa học' );?>:
				</label>
			</td>
			<td>
				<input class="text_area" type="text" name="khoahoc" id="khoahoc" size="50" maxlength="250" value="<?php echo $this->hello->khoahoc;?>" />
			</td>
		</tr>
		<tr>
			<td width="200" align="right" class="key">
				<label for="lop">
					<?php echo JText::_( 'Lớp' );?>:
				</label>
			</td>
			<td>
				<input class="text_area" type="text" name="lop" id="lop" size="50" maxlength="250" value="<?php echo $this->hello->lop;?>" />
			</td>
		</tr>
		<tr>
			<td width="200" align="right" class="key">
				<label for="manganh">
					
					<?php echo JText::_( 'Mã ngành' );?>:
				</label>
			</td>
			<td>
				<select name="manganh" id="manganh">
					<?php
					$k = 0; 
					for ($i=0, $n=count( $this->nganh ); $i < $n; $i++) 
					{ 					
							$rown =& $this->nganh[$i];
							if($rown->manganh==$this->hello->manganh)
								echo "<option value='".$rown->manganh."' selected='selected'>".$rown->tennganh."</option>";
							else
								echo "<option value='".$rown->manganh."' >".$rown->tennganh."</option>";
					}		
					?>
				</select>
				
			</td>
		</tr>
		<tr>
			<td width="200" align="right" class="key">
				<label for="loaitotnghiep">
					<?php echo JText::_( 'Loại tốt nghiệp' );?>:
				</label>
			</td>
			<td>
				<input class="text_area" type="text" name="loaitotnghiep" id="loaitotnghiep" size="50" maxlength="250" value="<?php echo $this->hello->loaitotnghiep;?>" />
			</td>
		</tr>
		<tr>
			<td width="200" align="right" class="key">
				<label for="detaitotnghiep">
					<?php echo JText::_( 'Đề tài tốt nghiệp' );?>:
				</label>
			</td>
			<td>
				<input class="text_area" type="text" name="detaitotnghiep" id="detaitotnghiep" size="50" maxlength="250" value="<?php echo $this->hello->detaitotnghiep;?>" />
			</td>
		</tr>
		<tr>
			<td width="200" align="right" class="key">
				<label for="quequan">
					<?php echo JText::_( 'Quên quán' );?>:
				</label>
			</td>
			<td>
				<input class="text_area" type="text" name="quequan" id="quequan" size="50" maxlength="250" value="<?php echo $this->hello->quequan;?>" />
			</td>
		</tr>
	</table>
	</fieldset>
</div>
<div class="clr"></div>

<input type="hidden" name="option" value="com_cuusinhvien" />
<input type="hidden" name="text" value="<?php echo $this->text; ?>" />
<input type="hidden" name="task" value="" />
<input type="hidden" name="controller" value="cuusinhvien" />
</form>
